package com.ruoyi.purchase.mapper;

import com.ruoyi.purchase.domain.Brand;
import com.ruoyi.purchase.domain.Firm;
import com.ruoyi.purchase.domain.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.purchase.domain.Type;

import java.util.List;

/**
* @author lenovo
* @description 针对表【po_product】的数据库操作Mapper
* @createDate 2022-01-07 14:49:26
* @Entity com.ruoyi.purchase.domain.Product
*/
public interface ProductMapper extends BaseMapper<Product> {

    public List<Product> findAllProduct(Product product);

    public int updateUser(Product product);

    Product findByBrandTypeModel(String productModel);
    public Product selectProductById(Integer productId);

    public List<Firm> selectFirm();

    public List<Type> selectType();

    public List<Brand> selectBrand();
}




